.login {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("~@/assets/image/login.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #cccccc;
    position: relative;

    &-bg {
        width: 100%;
        height: 99%;
    }

    &-box {
        width: 350px;
        background: hsla(0, 0%, 100%, 0.3);
        border-radius: 5px;
        box-shadow: 0 0 2px #f7f7f7;
        border: 1px solid #f7f7f7;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);

        &-title {
            line-height: 50px;
            font-size: 20px;
            color: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            border-bottom: 1px solid #ffffff;
        }

        &-from {
            width: 100%;
            height: auto;
            padding: 30px;
            box-sizing: border-box;

            .el-icon-key {
                cursor: pointer;
            }

            .login-code {
                cursor: pointer;
                height: 38px;
            }
        }
    }

    .agreement {
        font-size: 12px;
    }
}